package cn.gson.crm.model.entity;

import java.text.SimpleDateFormat;
import java.util.Date;

import cn.gson.crm.vo.OrderVo;

public class Records extends OrderVo {
	private Integer recordId;
	private String recordNowpaid;
	private String recordTotalmoney;
	private String recordPaid;
	private String recordUnpaid;
	private Integer recordPayeeId;
	private Integer recordPaidall;
	private Date recordPaidtime;
	private Integer recordLoan;
	private SimpleDateFormat sdf;
	private String str;

	public Integer getRecordId() {
		return recordId;
	}

	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}

	public String getRecordNowpaid() {
		return recordNowpaid;
	}

	public void setRecordNowpaid(String recordNowpaid) {
		this.recordNowpaid = recordNowpaid;
	}

	public String getRecordTotalmoney() {
		return recordTotalmoney;
	}

	public void setRecordTotalmoney(String recordTotalmoney) {
		this.recordTotalmoney = recordTotalmoney;
	}

	public String getRecordPaid() {
		return recordPaid;
	}

	public void setRecordPaid(String recordPaid) {

		this.recordPaid = recordPaid;
	}

	public String getRecordUnpaid() {
		return recordUnpaid;
	}

	public void setRecordUnpaid(String recordUnpaid) {
		this.recordUnpaid = recordUnpaid;
	}

	public Integer getRecordPayeeId() {
		return recordPayeeId;
	}

	public void setRecordPayeeId(Integer recordPayeeId) {
		this.recordPayeeId = recordPayeeId;
	}

	public Integer getRecordPaidall() {
		return recordPaidall;
	}

	public void setRecordPaidall(Integer recordPaidall) {
		this.recordPaidall = recordPaidall;
	}

	// public Date getRecordPaidtime() {
	// return recordPaidtime;
	// }
	public String getRecordPaidtime() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");

		if (recordPaidtime != null) {
			str = sdf.format(recordPaidtime);
		}
		return str;
		// this.sdf=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
		// return this.sdf.format(new Date()); //将当前日期进行格式化操作
	}

	public void setRecordPaidtime(Date recordPaidtime) {
		this.recordPaidtime = recordPaidtime;
	}

	public Integer getRecordLoan() {
		return recordLoan;
	}

	public void setRecordLoan(Integer recordLoan) {
		this.recordLoan = recordLoan;
	}
}
